package com.lvcoding.spring5.annotation3x.config;

import com.lvcoding.spring5.annotation3x.bean.User;
import com.lvcoding.spring5.annotation3x.injection.UserDao;
import com.lvcoding.spring5.annotation3x.injection.UserService;
import com.lvcoding.spring5.annotation3x.injection.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * @Description 描述
 * @Date 2020-07-23 4:39 下午
 * @Author wuyanshen
 */
@Configuration
public class AppConfig6 {

    @Bean
    public User user(){
        User user = new User();
        return user;
    }
}
